home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.2 KB | 37 lines | [TEXT/GEOL] |
- Item 2454538 26-Oct-90 15:25PDT
-
- From: KRIPALU Kripalu Ctr, Michael A Latta,PRT
-
- To: BBSF.DEV Babcock & Brown, Michael Harper,AST
-
- cc: MACAPP.TECH$ MacApp Technical
-
- Sub: Sybase and MacApp
-
- Michael Harper:
-
- The problem you speak of in you Sept 17 applelink is due to the need for the
- Sybase segments to be LOCKED and made RESIDENT. This involves calling the
- MacApp routines to make the segment resident. In Pascal the following does the
- trick.
-
- { Force the Sybase segment to be memory resident.}
- sybSeg := GetSegNumber(@dbbind);
- SetResidentSegment(sybSeg, TRUE);
- sybSeg := GetSegNumber(@tss_open);
- SetResidentSegment(sybSeg, TRUE);
- sybSeg := GetSegNumber(@dbconvert);
- SetResidentSegment(sybSeg, TRUE);
- sybSeg := GetSegNumber(@dbcmd);
- SetResidentSegment(sybSeg, TRUE);
- sybSeg := GetSegNumber(@dbpasswd);
- SetResidentSegment(sybSeg, TRUE);
- sybSeg := GetSegNumber(@dbsvinfo);
- SetResidentSegment(sybSeg, TRUE);
-
- Please let me know if you are still working on this. I am interested in
- talking to any other developers that are using MacApp and Sybase.
-
- Mike Latta
-
-